package com.dhecp.project.business.domain;

import java.util.Date;

import com.dhecp.core.domain.BaseBusinessEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 销售报价单 实体类
 * @author DH-Xxj
 * @version 2019年11月15日
 */
public class StockOfferPrice extends BaseBusinessEntity {

    private static final long serialVersionUID = 1L;
    
    private Double gPrice;	//成本价
	private String bPID;	//客户BPID
    private String vAddress;//客户地址
    private String vMan;	//联系人
    private String vFax;	//联系人传真
    private String vTel;	//联系人电话
    private String vAddressM; 	//联系人地址
    private Double fXsFpsl;//销售税率
    private Double fSumje;	//金额
    private Double fWsDj;	//未税单价
    private Double fWsJe;	//未税金额
    private Double fBjzk;	//报价折扣
    private Double fHsMj;	//含税面价
	private Double fWsMj;	//未税面价
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dBjYxq;		//报价有效期
	@JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dBjhq;		//报价交货期
    private String vBjhq;	//报价货期
    private Double fHtSl;	//合同生效数量（回填字段，不进行插入和更新操作）
    private Double fHtSl2;	//合同保存数量（回填字段，不进行插入和更新操作）
    private Double fWyySl;	//合同未引用数量
    
    private Double fPsCb;	//评审成本
    private Double fPsJe;	//评审金额
    private Double fPsMl;	//评审毛利
    private Double fPsMll;	//评审毛利率
    private Double fZdPsMll;//整单评审毛利率
    private Double fPsZk;	//评审折扣
    private String vPsBz;	//评审备注
    private String vSjBh;	//商机编号
    private String vFkFs; //付款方式编码
    private String vFkBz; //付款备注

	private String pBPID;	//分销商BPID
	private String vTjHm;	//特价号码
	private String vTjMc;	//特价名称
    private Double fTjSl;	//特价数量
    private Double fTjSl2;	//特价保存数量
    private Double fHsMjT;	//特价含税面价
    private Double fWsMjT;	//特价未税面价
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dKsRqT;	//特价开始日期
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date dJsRqT;	//特价结束日期
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd")
    private Date fixedDate;	//fixed val.date
    private String vPpLx; 	//特价匹配类型
    
    //虚拟字段
    private String vFkFsName; //付款方式
    
	public Double getgPrice() {
		if (gPrice == null){
			return 0.0;
		}
		return gPrice;
	}
	public void setgPrice(Double gPrice) {
		this.gPrice = gPrice;
	}
	public String getbPID() {
		return bPID;
	}
	public void setbPID(String bPID) {
		this.bPID = bPID;
	}
	public String getvAddress() {
		return vAddress;
	}
	public void setvAddress(String vAddress) {
		this.vAddress = vAddress;
	}
	public String getvMan() {
		return vMan;
	}
	public void setvMan(String vMan) {
		this.vMan = vMan;
	}
	public String getvFax() {
		return vFax;
	}
	public void setvFax(String vFax) {
		this.vFax = vFax;
	}
	public String getvTel() {
		return vTel;
	}
	public void setvTel(String vTel) {
		this.vTel = vTel;
	}
	public String getvAddressM() {
		return vAddressM;
	}
	public void setvAddressM(String vAddressM) {
		this.vAddressM = vAddressM;
	}
	public Double getfXsFpsl() {
		if (fXsFpsl == null){
			return 0.0;
		}
		return fXsFpsl;
	}
	public void setfXsFpsl(Double fXsFpsl) {
		this.fXsFpsl = fXsFpsl;
	}
	public Double getfSumje() {
		if (fSumje == null){
			return this.getbNumb()*this.getbPrice();
		}
		return fSumje;
	}
	public void setfSumje(Double fSumje) {
		this.fSumje = fSumje;
	}
	public Double getfWsDj() {
		return fWsDj;
	}
	public void setfWsDj(Double fWsDj) {
		this.fWsDj = fWsDj;
	}
	public Double getfWsJe() {
		return fWsJe;
	}
	public void setfWsJe(Double fWsJe) {
		this.fWsJe = fWsJe;
	}
	public Double getfBjzk() {
		if (fBjzk == null){
			return 0.0;
		}
		return fBjzk;
	}
	public void setfBjzk(Double fBjzk) {
		this.fBjzk = fBjzk;
	}
	public Double getfHsMj() {
		if (fHsMj == null){
			return 0.0;
		}
		return fHsMj;
	}
	public void setfHsMj(Double fHsMj) {
		this.fHsMj = fHsMj;
	}
	public Double getfWsMj() {
		if (fWsMj == null){
			return 0.0;
		}
		return fWsMj;
	}
	public void setfWsMj(Double fWsMj) {
		this.fWsMj = fWsMj;
	}
	public Date getdBjYxq() {
		return dBjYxq;
	}
	public void setdBjYxq(Date dBjYxq) {
		this.dBjYxq = dBjYxq;
	}
	public Date getdBjhq() {
		return dBjhq;
	}
	public void setdBjhq(Date dBjhq) {
		this.dBjhq = dBjhq;
	}
	public String getvBjhq() {
		return vBjhq;
	}
	public void setvBjhq(String vBjhq) {
		this.vBjhq = vBjhq;
	}
	public Double getfHtSl() {
		if (fHtSl == null){
			return 0.0;
		}
		return fHtSl;
	}
	public void setfHtSl(Double fHtSl) {
		this.fHtSl = fHtSl;
	}
	public Double getfHtSl2() {
		if (fHtSl2 == null){
			return 0.0;
		}
		return fHtSl2;
	}
	public void setfHtSl2(Double fHtSl2) {
		this.fHtSl2 = fHtSl2;
	}
	public Double getfWyySl() {
		if (fWyySl == null){
			return 0.0;
		}
		return fWyySl;
	}
	public void setfWyySl(Double fWyySl) {
		this.fWyySl = fWyySl;
	}
	public Double getfPsCb() {
		if (fPsCb == null){
			return 0.0;
		}
		return fPsCb;
	}
	public void setfPsCb(Double fPsCb) {
		this.fPsCb = fPsCb;
	}
	public Double getfPsJe() {
		if (fPsJe == null){
			return 0.0;
		}
		return fPsJe;
	}
	public void setfPsJe(Double fPsJe) {
		this.fPsJe = fPsJe;
	}
	public Double getfPsMl() {
		if (fPsMl == null){
			return 0.0;
		}
		return fPsMl;
	}
	public void setfPsMl(Double fPsMl) {
		this.fPsMl = fPsMl;
	}
	public Double getfPsMll() {
		if (fPsMll == null){
			return 0.0;
		}
		return fPsMll;
	}
	public void setfPsMll(Double fPsMll) {
		this.fPsMll = fPsMll;
	}
	public Double getfZdPsMll() {
		if (fZdPsMll == null){
			return 0.0;
		}
		return fZdPsMll;
	}
	public void setfZdPsMll(Double fZdPsMll) {
		this.fZdPsMll = fZdPsMll;
	}
	public Double getfPsZk() {
		if (fPsZk == null){
			return 0.0;
		}
		return fPsZk;
	}
	public void setfPsZk(Double fPsZk) {
		this.fPsZk = fPsZk;
	}
	public String getvPsBz() {
		return vPsBz;
	}
	public void setvPsBz(String vPsBz) {
		this.vPsBz = vPsBz;
	}
	public String getvSjBh() {
		return vSjBh;
	}
	public void setvSjBh(String vSjBh) {
		this.vSjBh = vSjBh;
	}
	public String getvFkFs() {
		return vFkFs;
	}
	public void setvFkFs(String vFkFs) {
		this.vFkFs = vFkFs;
	}
	public String getvFkBz() {
		return vFkBz;
	}
	public void setvFkBz(String vFkBz) {
		this.vFkBz = vFkBz;
	}
	public String getvFkFsName() {
		return vFkFsName;
	}
	public void setvFkFsName(String vFkFsName) {
		this.vFkFsName = vFkFsName;
	}
	public String getpBPID() {
		return pBPID;
	}
	public void setpBPID(String pBPID) {
		this.pBPID = pBPID;
	}
	public String getvTjHm() {
		return vTjHm;
	}
	public void setvTjHm(String vTjHm) {
		this.vTjHm = vTjHm;
	}
	public String getvTjMc() {
		return vTjMc;
	}
	public void setvTjMc(String vTjMc) {
		this.vTjMc = vTjMc;
	}
	public Double getfTjSl() {
		if (fTjSl == null){
			return 0.0;
		}
		return fTjSl;
	}
	public void setfTjSl(Double fTjSl) {
		this.fTjSl = fTjSl;
	}
	public Double getfTjSl2() {
		if (fTjSl2 == null){
			return 0.0;
		}
		return fTjSl2;
	}
	public void setfTjSl2(Double fTjSl2) {
		this.fTjSl2 = fTjSl2;
	}
	public Double getfHsMjT() {
		if (fHsMjT == null){
			return 0.0;
		}
		return fHsMjT;
	}
	public void setfHsMjT(Double fHsMjT) {
		this.fHsMjT = fHsMjT;
	}
	public Double getfWsMjT() {
		if (fWsMjT == null){
			return 0.0;
		}
		return fWsMjT;
	}
	public void setfWsMjT(Double fWsMjT) {
		this.fWsMjT = fWsMjT;
	}
	public Date getdKsRqT() {
		return dKsRqT;
	}
	public void setdKsRqT(Date dKsRqT) {
		this.dKsRqT = dKsRqT;
	}
	public Date getdJsRqT() {
		return dJsRqT;
	}
	public void setdJsRqT(Date dJsRqT) {
		this.dJsRqT = dJsRqT;
	}
	public Date getFixedDate() {
		return fixedDate;
	}
	public void setFixedDate(Date fixedDate) {
		this.fixedDate = fixedDate;
	}
	public String getvPpLx() {
		return vPpLx;
	}
	public void setvPpLx(String vPpLx) {
		this.vPpLx = vPpLx;
	}
	
}
